package com.zxc.gulimall.ware.feign;

import com.zxc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "order-service")
public interface OrderFeignService {

    @GetMapping(value = "/order/order/status/{orderSn}")
    public R getOrderStatusByOrderSn(@PathVariable(value = "orderSn")String orderSn);
}
